package com.huluobo.jetpackkotlindemo.viewbinding

import android.os.Bundle
import com.huluobo.jetpackkotlindemo.databinding.ActivityMain2Binding
import com.huluobo.jetpackkotlindemo.viewbinding.BaseActivity

/**
 * Created by lc on 2022/12/9.
 */
class MainActivity2 : BaseActivity<ActivityMain2Binding>() {
    override fun getViewBinding(): ActivityMain2Binding =
        ActivityMain2Binding.inflate(layoutInflater)

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        mViewBinding.main2Tv.text = "123"
    }
}